package com.ruoyi.common.core.domain.dto;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import javax.annotation.Nullable;
import javax.validation.constraints.NotBlank;

/**
 * @Author itmei
 * @Date 2024/4/29 14:40
 * @description: 请假汇总
 * @Title: LeaveSummaryDTO
 * @Package com.ruoyi.common.core.domain.dto
 */
@Data
public class LeaveSummaryDTO {

    /** 学校ID */
    private String schoolId;

    /** 学生id */
    @NotBlank(message = "学生id不能为空")
    private String studentsId;

    /** 开始时间 */
    @Nullable
    private String startTime;

    /** 结束时间 */
    @Nullable
    private String endTime;

    private Long leaveId;

    @Excel(name = "状态：0=待审批, 1=审批通过, 2=审批拒绝,3=待销假")
    private Long status;
}
